package yto.freemarker.springbootstudy.config;

import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * Swagger配置路径重定向
 *
 * @author dongxing
 * @create 2018-05-23 12:45
 **/
//@Configuration
public class SwaggerWebMvcConfig implements WebMvcConfigurer{

//    @Override
//    public void addResourceHandlers(ResourceHandlerRegistry registry) {
//        registry.addResourceHandler("swagger-ui.html")
//                .addResourceLocations("classpath:/META-INF/resources/");
//        registry.addResourceHandler("/webjars/**")
//                .addResourceLocations("classpath:/META-INF/resources/webjars/");
//    }

}
